package tech.aistar.mapper;

import org.apache.ibatis.annotations.Param;
import tech.aistar.entity.Customer;
import tech.aistar.vo.CustomerQueryVo;

import java.util.List;
import java.util.Map;

/**
 * @author Ray
 * @version 1.0
 * @description:本类用来演示:
 * @date 2019/8/21  15:29
 */
public interface CustomerMapper {
    List<Customer> findAll();
    void save(Customer c);
    void delById(Integer id);
    void upDate(Customer c);
//    PersonVo personVo();
    List<CustomerQueryVo> countStatus();
    List<Customer> findByLimit(@Param("start") Integer pageNow, @Param("end") Integer pageSize);
    List<Customer> findAllMap(Map<String,Object> maps);
    Customer getById(Integer id);
}
